import request from '@/common/request.js';

const mine = {
	// 获取验证码
	getCode: params => request.globalRequest(`/tiwang-weixin/wx/user/getCode`, 'GET', params, 1),
	//更换手机号
	modifyPhone: params => request.globalRequest(`/tiwang-weixin/wx/user/modifyPhone`, 'POST', params, 4),
	// 获取小区的下拉列表
	regionList: params => request.globalRequest(`/tiwang-weixin/wx/regionAttention/regionList`, 'GET', params, 1),
	// 添加小区
	addCell: params => request.globalRequest(`/tiwang-weixin/wx/regionAttention/regionsAttentionBatch`, 'POST', params, 4),
	//所在小区
	myRegionList: params => request.globalRequest(`/tiwang-weixin/wx/regionAttention/myRegionList`, 'GET', params, 1),
	
}

export default mine